package cn.iocoder.yudao.module.oauth2.api.oauth2;


import cn.iocoder.yudao.framework.common.pojo.CommonResult;
import cn.iocoder.yudao.module.oauth2.enums.ApiConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Administrator
 */
@FeignClient(name = ApiConstants.NAME)
public interface OAuth2ClientApi {
    String PREFIX = ApiConstants.PREFIX + "/oauth2/token";


    @GetMapping(PREFIX + "/initLocalCache")
    CommonResult<Boolean> initLocalCache();
}
